import { createRouter, createWebHistory } from 'vue-router'
import DashboardView from './views/DashboardView.vue'
import InputView from './views/InputView.vue'
import StatsView from './views/StatsView.vue'
import GoalsView from './views/GoalsView.vue'

const routes = [
  { path: '/', component: DashboardView },
  { path: '/input', component: InputView },
  { path: '/stats', component: StatsView },
  { path: '/goals', component: GoalsView }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router